import java.io.File;
import java.io.FileFilter;

public class FileFilerImp implements FileFilter {
    private String FileSuffix;//事件模型返回的路径字符串
    @Override
    public boolean accept(File pathname) {
        if (pathname.isDirectory()){
        return true;
        }
        return pathname.getPath().toLowerCase().endsWith(FileSuffix);
    }
}
